package com.zx.wangyixinwen.fragment;


import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;

import com.zx.wangyixinwen.R;


/**
 * Created by dllo on 16/1/4.
 */
public class IFragment extends Fragment implements View.OnClickListener {
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_i, null);
        view.findViewById(R.id.btn_sina).setOnClickListener(this);
        return view;
    }


    @Override
    public void onClick(View v) {

        Toast.makeText(getActivity(), "5456456456", Toast.LENGTH_SHORT).show();    }
}
